<h1>Blog comments List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Article</th>
      <th>User</th>
      <th>Comm</th>
      <th>Is activated</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($blog_comments as $blog_comment): ?>
    <tr>
      <td><a href="<?php echo url_for('sfBlogComments/show?id='.$blog_comment->getId()) ?>"><?php echo $blog_comment->getId() ?></a></td>
      <td><?php echo $blog_comment->getArticleId() ?></td>
      <td><?php echo $blog_comment->getUserId() ?></td>
      <td><?php echo $blog_comment->getComm() ?></td>
      <td><?php echo $blog_comment->getIsActivated() ?></td>
      <td><?php echo $blog_comment->getCreatedAt() ?></td>
      <td><?php echo $blog_comment->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('sfBlogComments/new') ?>">New</a>
